﻿<%@ Control Inherits="CVCommunity.Admin.Logs" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%> 
<script language="javascript">
function chkAllBox()
{
	var f = document.forms[0];
	var ischecked = f.checkall.checked;
	for (var i=0; i<f.elements.length; i++)
	{
		if (f.elements[i].type.toLowerCase() == "checkbox")
		{
			f.elements[i].checked = ischecked;
		}
	}
}
</script>
<form id="operate" runat="server">
<div class="grid">
<table cellspacing="0" width="100%">
<tr class="forumno category">
<td width="40"></td>
<td width="666">动作</td>
<td width="109" align="center">用户</td>
<td width="150">时间</td>
</tr>
<asp:Repeater enableviewstate="false" id="list" runat="server">
<ItemTemplate>
<tr class="forumtd" style="font-size:12px;">
<td align="center"><forum:Span id="primarykey" runat="server"/></td>
<td><forum:Span id="action" runat="server"/></td>
<td align="center"><forum:Anchor id="username" runat="server"/></td>
<td><forum:Span id="addtime" runat="server"/></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr class="forumtd" style="background:#FFF; color:#990000">
<td align="center"><input name="checkall" style="border:none;" id="checkall" type="checkbox" class="nogrid" onclick="chkAllBox()" /></td>
<td colspan="3">&nbsp;
  <input type="submit" class="button" value="删除所选" onserverclick="Delete" onclick="return confirm('确定吗?')" runat="server" />
  <input type="submit" class="button" value="清除所有" onserverclick="Clean" onclick="return confirm('确定吗?')" runat="server" />
&nbsp;
<forum:Span id="result" class="t2" runat="server"/></td>
</tr>
<tr class="forumtd">
<td colspan="4">
<div class="right">&nbsp;&nbsp;</div><forum:Pager id="pager" per="20" runat="server"/></td>
</tr>
</table>
</div>
</form>